lsm_error_message_get(3) | Libstoragemgmt C API Manual | lsm_error_message_get(3) |
NAME¶
lsm_error_message_get - Retrieves the error message for the lsm_error.
SYNOPSIS¶
char * lsm_error_message_get (lsm_error_ptr e);
ARGUMENTS¶
- e
- The lsm_error to retrieves error message from.
VERSION¶
1.0
DESCRIPTION¶
Retrieves the error message for the specified lsm_error.
NOTE¶
Address returned is valid until lsm_error gets freed, copy return value if you need longer scope. Do not free returned string.
RETURN¶
string. NULL if argument 'e' is NULL or not a valid lsm_error_ptr.
lsm_error_message_get | January 2023 |